<?php
/**
 * Created by PhpStorm.
 * User: Steven
 * Date: 2017/6/22
 * Time: 9:55
 */

namespace app\course\validate;


use think\Validate;

class CourseScheduleValidate extends Validate
{
    protected $rule = [
//        ['school_id', 'require|gt:0', '学校不能为空|请选择学校'],
//        ['class_id', 'require|gt:0', '班级不能为空|请选择班级'],
        ['start_date', 'require', '开始时间不能为空'],
        ['end_date', 'require', '结束时间不能为空'],
    ];
}